$(function() {
    var el = $('body'),
        comSpreadReportStatistic, comSpreadRelateWords;

    // initiate layout and plugins
    Metronic.init(); // init metronic core components
    Layout.init(); // init current layout
    Demo.init(); // init demo features


    comSpreadReportStatistic = el.find('.com-spread-report-statistic').SpreadReportStatistic({
        data: pageData.spreadReportStatistic
    });
    comSpreadRelateWords = el.find('.com-spread-relate-words').SpreadRelateWords({
        data: pageData.spreadRelateWords
    });
});
